WaveOutDevice
(Property)

Purpose: Returns and sets the current Wave-out devices ID.

Syntax:
IntVar = CtlName.WaveOutDevice
CtlName.WaveOutDevice = IntVar

Arguments: None.

Example:
'Change Wave-Out device
SoundCard1.WaveOutDevice = SoundCard1.WaveOutNumOfDevices
'Play a Wave-file
SoundCard1.WavePlay "C: Windows Media The Microsoft Sound.wav"

'Show Current Wave-Out device in the Debug Window
Debug.Print SoundCard1.WaveOutDevice

Comments: The SoundCard control will ignore attempts to set WaveOutDevice to values out of range.

See Also:
WaveInDevice

Index